<{include file="admin/public/header.html"}>
<div class="am-cf admin-main">
  <!-- sidebar start -->
  <{include file='admin/public/left.html'}>
  <!-- sidebar end -->

  <!-- content start -->
  <div class="admin-content">

    <div class="am-cf am-padding">
      <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg"><{$nav[0]}></strong> / <small><{$nav[1]}></small></div>
    </div>

    <ul class="am-avg-sm-1 am-avg-md-4 am-margin am-padding am-text-center admin-content-list ">
      <li><a href="/admin/article/add" class="am-text-success"><span class="am-icon-btn am-icon-file-text"></span><br/>新增文章<br/><{$data.artCount}></a></li>
      <li><a href="/admin/Comment/index" class="am-text-warning"><span class="am-icon-btn am-icon-briefcase"></span><br/>评论管理<br/><{$data.comCount}></a></li>
      <li><a href="/admin/Back/index" class="am-text-danger"><span class="am-icon-btn am-icon-recycle"></span><br/>数据备份<br/></a></li>
      <li><a href="/admin/User/index" class="am-text-secondary"><span class="am-icon-btn am-icon-user-md"></span><br/>在线用户<br/><{$data.userCount}></a></li>
    </ul>


    <div class="am-g">
      <div class="am-u-md-12">
        <div class="am-panel am-panel-default">
          <div class="am-panel-hd am-cf" data-am-collapse="{target: '#collapse-panel-1'}">欢迎登录Potato后台管理系统<span class="am-icon-chevron-down am-fr" ></span></div>
          <div id="collapse-panel-1" class="am-in">
            <table class="am-table am-table-bd am-table-bdrs am-table-striped am-table-hover">
              <tbody>
              <tr>
                <td class="am-text-left" width="15%">用户名</td>
                <td><{$smarty.session.user.info.nickname}></td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">登陆IP</td>
                <td><{$data.ip}></td>
              </tr>
              </tbody>
            </table>
          </div>
        </div>
        <div class="am-panel am-panel-default">
          <div class="am-panel-hd am-cf" data-am-collapse="{target: '#collapse-panel-2'}">系统运行信息<span class="am-icon-chevron-down am-fr" ></span></div>
          <div id="collapse-panel-2" class="am-in">
            <table class="am-table am-table-bd am-table-bdrs am-table-striped am-table-hover">
              <tbody>
              <tr>
                <td class="am-text-left" width="15%">服务器信息</td>
                <td><{$data.serverInfo}></th>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">服务器环境</td>
                <td><{$data.serverEn}></td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">服务器语言</td>
                <td><{$data.serverLan}></td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">PHP版本</td>
                <td><{$data.serverVer}></td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">服务器IP</td>
                <td><{$data.serverIp}></td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">MYSQL版本</td>
                <td>MySQL<{$data.serverMysql}></td>
              </tr>
              </tbody>
            </table>
          </div>
        </div>
        <div class="am-panel am-panel-default">
          <div class="am-panel-hd am-cf" data-am-collapse="{target: '#collapse-panel-3'}">作者信息<span class="am-icon-chevron-down am-fr" ></span></div>
          <div id="collapse-panel-3" class="am-in">
            <table class="am-table am-table-bd am-table-bdrs am-table-striped am-table-hover">
              <tbody>
              <tr>
                <td class="am-text-left" width="15%">作者</td>
                <td>Jimmy Chen</td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">Email</td>
                <td>jimmysum@163.com</td>
              </tr>
              <tr>
                <td class="am-text-left" width="15%">合作</td>
                <td>请联系邮箱</td>
              </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>

    </div>
  </div>
  <!-- content end -->

</div>

<{include file='admin/public/footer.html'}>

</body>
</html>
